package com.multi.tool.springdemo;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;


/**
 * @author zhengpeng.wang
 */
public class SpringDemo1 {

    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext("com.roy.springdemo");
        A a = context.getBean(A.class);
        a.sout();
    }
}
